Skip to content

Add Monoid instance for JSX #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2018
Merged

Add Monoid instance for JSX #38

merged 1 commit into from
May 25, 2018

Conversation

maddie927
Copy link
Member

For example: intercalate divider someThings

@maddie927 maddie927 self-assigned this May 24, 2018
@maddie927 maddie927 requested a review from paf31 May 24, 2018 23:29
@paf31
Copy link
Contributor

paf31 commented May 25, 2018

Since we can't observe the difference between differently-associated appends (I think?), this looks good to me.

@maddie927
Copy link
Member Author

Correct. You could inspect the JSX structure in FFI, but it's still a valid JSX node and rendered the same way as a flat array by React.

@maddie927 maddie927 merged commit 5e38d1d into master May 25, 2018
@maddie927 maddie927 deleted the michael/jsx-monoid branch May 25, 2018 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants